﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImeiGroup.aspx.cs" Inherits="GPSTrackingClientsWebsiteManager.Espanol.Pages.ImeiGroup" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <script src="../../Javascript/jquery-1.8.0.min.js"></script>
    <script src="../../Javascript/messi.js"></script>
    <script src="../../Javascript/WindowMessagePlugin.js"></script>
    <link href="../../Css/messi.css" rel="stylesheet" />

    <link href="../../Css/GPSTrakingClientsWebsiteManager.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">    
     <fieldset>
                            <legend>Grupos GPS</legend>         
                            <telerik:RadGrid ID="ImeiGrid"  runat="server" Height="300px" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" Skin="Metro" OnNeedDataSource="ImeiGrid_NeedDataSource" OnItemDataBound="ImeiGrid_ItemDataBound" OnItemCommand="ImeiGrid_ItemCommand">
                                <ClientSettings>
                                    <Selecting AllowRowSelect="True" />
                                    <ClientEvents />
                                </ClientSettings>
                                <MasterTableView  CommandItemDisplay="Bottom" CommandItemStyle-HorizontalAlign="Right" NoMasterRecordsText="No hay grupos">
                                     <CommandItemTemplate>
                                         <asp:LinkButton ID="btnSave" runat="server" CommandName="Save"><img src="../../Template/Icon/Button-Save-icon.png" />Guardar</asp:LinkButton>
                                         </CommandItemTemplate>
                                    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>

                                    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                                        <HeaderStyle Width="20px"></HeaderStyle>
                                    </RowIndicatorColumn>

                                    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                                        <HeaderStyle Width="20px"></HeaderStyle>
                                    </ExpandCollapseColumn>

                                    <Columns>                                       
                                        <telerik:GridBoundColumn DataField="Imei" FilterControlAltText="Filter Name column" HeaderText="Imei" UniqueName="Imei">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Name" FilterControlAltText="Filter Name column" HeaderText="Nombre" UniqueName="Name">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridMaskedColumn DataField="SimNumber" DisplayMask="" FilterControlAltText="Filter SimNumber column" HeaderText="Número SIM" Mask="" UniqueName="SimNumber">
                                        </telerik:GridMaskedColumn>
                                        <telerik:GridBoundColumn DataField="Description" FilterControlAltText="Filter Description column" HeaderText="Descripción" UniqueName="Description">
                                        </telerik:GridBoundColumn>                                                                               
                                        <telerik:GridBoundColumn DataField="GroupId" ItemStyle-Width="1px" FilterControlAltText="Filter Description column" HeaderText="Grupo" UniqueName="GroupID">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column" HeaderText="Grupo" UniqueName="TemplateColumn">
                                            <ItemTemplate>
                                                    <telerik:RadComboBox  ID="RadComboBox1" Runat="server" >                                                       
                                                    </telerik:RadComboBox>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                    </Columns>

                                    <EditFormSettings>
                                        <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
                                    </EditFormSettings>
                                </MasterTableView>

                                <FilterMenu EnableImageSprites="False"></FilterMenu>
                            </telerik:RadGrid>
                                 </fieldset>
    
    
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
         <telerik:RadNotification ID="RadNotification1" runat="server" Position="TopRight" Skin="Metro" Text="Guardado" VisibleTitlebar="False">
        </telerik:RadNotification>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="ImeiGrid">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadNotification1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
    </form>
</body>
</html>
